<template>
  <el-page-header @back="goBack" :content="routeTitle">
  </el-page-header>
</template>

<script>
export default {
  name: "PageHeader",
  computed: {
    routeTitle() {
      return this.$route.meta.title;
    }
  },
  methods: {
    goBack() {
      this.$router.go(-1);
    }
  }
}
</script>

<style scoped>

</style>